package com.caiheng.api.entity.examine;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 审批流程记录的 审核人员处理记录对象 examine_approve_reg_admin_record
 *
 * @author ruoyi
 * @date 2022-11-24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("examine_approve_reg_admin_record")
public class ExamineApproveRegAdminRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 审批记录id
     */
    private Integer approveRecordId;

    /**
     * 模板id
     */
    private Integer templateId;

    /**
     * 模板用户id
     */
    private Integer templateUserId;

    /**
     * 绑定后台管理员id
     */
    private Integer sysUserId;

    /**
     * 微信用户id
     */
    private Integer userId;

    /**
     * 审批结果
     */
    private String content;

    /**
     * 审批状态  0 - 未处理  1 - 审批同意  2 - 审批拒绝
     */
    private Integer state;

    /**
     *  处理排序索引
     */
    private Integer handleSort;

    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    /**
     * 处理时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date handleTime;

    @TableField(exist = false)
    private String userName;

}
